Supporting the analysis of clones in software systems

نویسندگان

  • Cory Kapser
  • Michael W. Godfrey
چکیده

Code duplication is a well documented problem in industrial software systems. There has been considerable research into techniques for detecting duplication in software, and there are several effective tools to perform this task. However, there have been few detailed qualitative studies into how cloning actually manifests itself within software systems. This is primarily due to the large result sets that many clone detection tools return; these result sets are very difficult to manage without complementary tool support that can scale to the size of the problem, and this kind of support does not currently exist. In this paper we present an in-depth case study of cloning in a large software system that is in wide use, the Apache web server; we provide insights into cloning as it exists in this system, and we demonstrate techniques to manage and make effective use of the large result sets of clone detection tools. In our case study, we found several interesting types of cloning occurrences, such as “cloning hotspots”, where a single subsystem comprising only 17% of the system code contained 38.8% of the clones. We also found several examples of cloning behavior that were beneficial to the development of the system, in particular cloning as a way to add experimental functionality.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Comparative analysis of profit between three dissimilar repairable redundant systems using supporting external device for operation

The importance in promoting, sustaining industries, manufacturing systems and economy through reliability measurement has become an area of interest. The profit of a system may be enhanced using highly reliable structural design of the system or subsystem of higher reliability. On improving the reliability and availability of a system, the production and associated profit will also increase. Re...

متن کامل

Optimization of temperature and supporting electrolyte for ammonium removal using bioelectrochemical systems

High concentrations of ammonium in drinking water can cause many diseases and environmental problems such as eutrophication. Therefore, high-performance and eco-friendly methods for purification are of great importance and must be considered. Recently, bioelectrochemical systems have been successfully applied for the removal of many pollutants from water and wastewater. In the present work, amm...

متن کامل

Detection and evolution analysis of code clones for efficient management of large-scale software systems

In recent decades, large-scale software systems have become mainstream. Such software systems have complicated the maintenance process by increasing efforts such as inspection and understanding of the existing source code. Therefore, to maintain these systems, a great deal of work and time are necessary. To alleviate this problem, this research focus on a well-known factor hindering the softwar...

متن کامل

Generic modelling of code clones

Code clones, i.e. instances of duplicated code, can be found in many software systems. They adversely affect the software systems’ quality, in particular their maintainability and comprehensibility. Thus, this aspect is particularly important to consider in software maintenance and reengineering. Many different algorithms detecting code clones have been developed. For various reasons, it is dif...

متن کامل

Variability in wood properties of promising willow clones

The objective of the article is to investigate the variability in growth and wood properties of the willow clones. The growth and wood traits of four year old 21 clones willow clones were investigated. Analysis of variance showed that willow clones differed significantly for all the studied growth and wood traits. Among the growth parameters the maximum heritability value was shown by height wh...

متن کامل

Introduse and Need Assessment of Regional Aircrafts by Software and Modeling

An analysis was conducted to examine the market visibility of small aircraft as a transportation mode in competition with automobile and scheduled commercial air travel by estimating the pool of users that would potentially switch on-demand air travel due to cost/time saving. These new aircraft greatly increase the practicality of regional aircraft as a transportation mode that can avoid the co...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Journal of Software Maintenance

دوره 18  شماره 

صفحات  -

تاریخ انتشار 2006